package com.biwin.module.dict.api.enums;

import com.biwin.common.api.enums.IBwEnum;

/**
 * TODO
 *
 * @author biwin
 * @since 0.0.1
 */
public enum BwDictionaryExceptionEnum implements IBwEnum {
    DICT_NOT_EXIST("DIC0001", "字典不存在"),
    DICT_EXIST("DIC0002", "已存在相同描述的字典"),
    ;
    private String code;
    private String value;

    BwDictionaryExceptionEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public void setValue(String value) {
        this.value = value;
    }
}
